/**
 */
package com.dingpeikeji.quickdeer.core.modules.line.dao;

import java.util.List;

import com.dingpeikeji.quickdeer.core.common.persistence.CrudDao;
import com.dingpeikeji.quickdeer.core.common.persistence.annotation.MyBatisDao;
import com.dingpeikeji.quickdeer.core.modules.line.entity.TLine;

/**
 * 线路定义DAO接口
 * 
 * @author Zhaoy
 * @version 2016-05-12
 */
@MyBatisDao
public interface TLineDao extends CrudDao<TLine> {
	// 删除途经城市
	public void deleteLinecitys(TLine tLine);

	// 批量插入途经城市
	public int insertLinecitys(TLine tLine);
	
	// 根据名称读取线路
	public TLine getLineByName(TLine tLine);
	
	public List<TLine> findCanList(TLine tLine);

	public List<TLine> findTravelLine(TLine tLine);

	public List<TLine> findLineByDaysAndSite(TLine tLine);

	public String getDepartCity(TLine tl);

	public String getDestCity(TLine tl);

	public void updateRentGroup(TLine tLine);
}
